package com.blb.exam.common.entity;


public class User {

  private long id;
  private String username;
  private String password;
  private String nickname;
  private String cellphone;
  private long type;

  public User(long id, String username, String password, String nickname, String cellphone, long type) {
    this.id = id;
    this.username = username;
    this.password = password;
    this.nickname = nickname;
    this.cellphone = cellphone;
    this.type = type;
  }

  public User() {
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getNickname() {
    return nickname;
  }

  public void setNickname(String nickname) {
    this.nickname = nickname;
  }


  public String getCellphone() {
    return cellphone;
  }

  public void setCellphone(String cellphone) {
    this.cellphone = cellphone;
  }


  public long getType() {
    return type;
  }

  public void setType(long type) {
    this.type = type;
  }

  @Override
  public String toString() {
    return "User{" +
            "id=" + id +
            ", username='" + username + '\'' +
            ", password='" + password + '\'' +
            ", nickname='" + nickname + '\'' +
            ", cellphone='" + cellphone + '\'' +
            ", type=" + type +
            '}';
  }
}
